Optimal. Leaf size=264 \[ \frac {2 (a-b) \sqrt {a+b} \sqrt {\cos (c+d x)} \csc (c+d x) \sqrt {\frac {a (1-\sec (c+d x))}{a+b}} \sqrt {\frac {a (\sec (c+d x)+1)}{a-b}} E\left (\sin ^{-1}\left (\frac {\sqrt {a+b \cos (c+d x)}}{\sqrt {a+b} \sqrt {\cos (c+d x)}}\right )|-\frac {a+b}{a-b}\right )}{a^2 d \sqrt {\sec (c+d x)}}-\frac {2 \sqrt {a+b} \sqrt {\cos (c+d x)} \csc (c+d x) \sqrt {\frac {a (1-\sec (c+d x))}{a+b}} \sqrt {\frac {a (\sec (c+d x)+1)}{a-b}} F\left (\sin ^{-1}\left (\frac {\sqrt {a+b \cos (c+d x)}}{\sqrt {a+b} \sqrt {\cos (c+d x)}}\right )|-\frac {a+b}{a-b}\right )}{a d \sqrt {\sec (c+d x)}} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.31, antiderivative size = 264, normalized size of antiderivative = 1.00, number of steps used = 4, number of rules used = 4, integrand size = 25, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.160, Rules used = {4222, 2801, 2816, 2994} \[ \frac {2 (a-b) \sqrt {a+b} \sqrt {\cos (c+d x)} \csc (c+d x) \sqrt {\frac {a (1-\sec (c+d x))}{a+b}} \sqrt {\frac {a (\sec (c+d x)+1)}{a-b}} E\left (\sin ^{-1}\left (\frac {\sqrt {a+b \cos (c+d x)}}{\sqrt {a+b} \sqrt {\cos (c+d x)}}\right )|-\frac {a+b}{a-b}\right )}{a^2 d \sqrt {\sec (c+d x)}}-\frac {2 \sqrt {a+b} \sqrt {\cos (c+d x)} \csc (c+d x) \sqrt {\frac {a (1-\sec (c+d x))}{a+b}} \sqrt {\frac {a (\sec (c+d x)+1)}{a-b}} F\left (\sin ^{-1}\left (\frac {\sqrt {a+b \cos (c+d x)}}{\sqrt {a+b} \sqrt {\cos (c+d x)}}\right )|-\frac {a+b}{a-b}\right )}{a d \sqrt {\sec (c+d x)}} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 2801
Rule 2816
Rule 2994
Rule 4222
Rubi steps
\begin {align*} \int \frac {\sec ^{\frac {3}{2}}(c+d x)}{\sqrt {a+b \cos (c+d x)}} \, dx &=\left (\sqrt {\cos (c+d x)} \sqrt {\sec (c+d x)}\right ) \int \frac {1}{\cos ^{\frac {3}{2}}(c+d x) \sqrt {a+b \cos (c+d x)}} \, dx\\ &=-\left (\left (\sqrt {\cos (c+d x)} \sqrt {\sec (c+d x)}\right ) \int \frac {1}{\sqrt {\cos (c+d x)} \sqrt {a+b \cos (c+d x)}} \, dx\right )+\left (\sqrt {\cos (c+d x)} \sqrt {\sec (c+d x)}\right ) \int \frac {1+\cos (c+d x)}{\cos ^{\frac {3}{2}}(c+d x) \sqrt {a+b \cos (c+d x)}} \, dx\\ &=\frac {2 (a-b) \sqrt {a+b} \sqrt {\cos (c+d x)} \csc (c+d x) E\left (\sin ^{-1}\left (\frac {\sqrt {a+b \cos (c+d x)}}{\sqrt {a+b} \sqrt {\cos (c+d x)}}\right )|-\frac {a+b}{a-b}\right ) \sqrt {\frac {a (1-\sec (c+d x))}{a+b}} \sqrt {\frac {a (1+\sec (c+d x))}{a-b}}}{a^2 d \sqrt {\sec (c+d x)}}-\frac {2 \sqrt {a+b} \sqrt {\cos (c+d x)} \csc (c+d x) F\left (\sin ^{-1}\left (\frac {\sqrt {a+b \cos (c+d x)}}{\sqrt {a+b} \sqrt {\cos (c+d x)}}\right )|-\frac {a+b}{a-b}\right ) \sqrt {\frac {a (1-\sec (c+d x))}{a+b}} \sqrt {\frac {a (1+\sec (c+d x))}{a-b}}}{a d \sqrt {\sec (c+d x)}}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A] time = 12.59, size = 296, normalized size = 1.12 \[ \frac {2 \sin (c+d x) \sqrt {\sec (c+d x)} \sqrt {a+b \cos (c+d x)}}{a d}-\frac {2 \sqrt {\cos ^2\left (\frac {1}{2} (c+d x)\right ) \sec (c+d x)} \left (\cos (c+d x) \tan \left (\frac {1}{2} (c+d x)\right ) \sec ^2\left (\frac {1}{2} (c+d x)\right ) (a+b \cos (c+d x))-2 a \sqrt {\frac {\cos (c+d x)}{\cos (c+d x)+1}} \sqrt {\frac {a+b \cos (c+d x)}{(a+b) (\cos (c+d x)+1)}} F\left (\sin ^{-1}\left (\tan \left (\frac {1}{2} (c+d x)\right )\right )|\frac {b-a}{a+b}\right )+2 (a+b) \sqrt {\frac {\cos (c+d x)}{\cos (c+d x)+1}} \sqrt {\frac {a+b \cos (c+d x)}{(a+b) (\cos (c+d x)+1)}} E\left (\sin ^{-1}\left (\tan \left (\frac {1}{2} (c+d x)\right )\right )|\frac {b-a}{a+b}\right )\right )}{a d \sqrt {\sec ^2\left (\frac {1}{2} (c+d x)\right )} \sqrt {a+b \cos (c+d x)}} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
fricas [F] time = 0.63, size = 0, normalized size = 0.00 \[ {\rm integral}\left (\frac {\sec \left (d x + c\right )^{\frac {3}{2}}}{\sqrt {b \cos \left (d x + c\right ) + a}}, x\right ) \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
giac [F] time = 0.00, size = 0, normalized size = 0.00 \[ \int \frac {\sec \left (d x + c\right )^{\frac {3}{2}}}{\sqrt {b \cos \left (d x + c\right ) + a}}\,{d x} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maple [B] time = 0.24, size = 620, normalized size = 2.35 \[ -\frac {2 \left (\sqrt {\frac {\cos \left (d x +c \right )}{1+\cos \left (d x +c \right )}}\, \sqrt {\frac {a +b \cos \left (d x +c \right )}{\left (1+\cos \left (d x +c \right )\right ) \left (a +b \right )}}\, \EllipticF \left (\frac {-1+\cos \left (d x +c \right )}{\sin \left (d x +c \right )}, \sqrt {-\frac {a -b}{a +b}}\right ) \cos \left (d x +c \right ) \sin \left (d x +c \right ) a -\sqrt {\frac {\cos \left (d x +c \right )}{1+\cos \left (d x +c \right )}}\, \sqrt {\frac {a +b \cos \left (d x +c \right )}{\left (1+\cos \left (d x +c \right )\right ) \left (a +b \right )}}\, \EllipticE \left (\frac {-1+\cos \left (d x +c \right )}{\sin \left (d x +c \right )}, \sqrt {-\frac {a -b}{a +b}}\right ) \cos \left (d x +c \right ) \sin \left (d x +c \right ) a -\sqrt {\frac {\cos \left (d x +c \right )}{1+\cos \left (d x +c \right )}}\, \sqrt {\frac {a +b \cos \left (d x +c \right )}{\left (1+\cos \left (d x +c \right )\right ) \left (a +b \right )}}\, \EllipticE \left (\frac {-1+\cos \left (d x +c \right )}{\sin \left (d x +c \right )}, \sqrt {-\frac {a -b}{a +b}}\right ) \cos \left (d x +c \right ) \sin \left (d x +c \right ) b +\sqrt {\frac {\cos \left (d x +c \right )}{1+\cos \left (d x +c \right )}}\, \sqrt {\frac {a +b \cos \left (d x +c \right )}{\left (1+\cos \left (d x +c \right )\right ) \left (a +b \right )}}\, \EllipticF \left (\frac {-1+\cos \left (d x +c \right )}{\sin \left (d x +c \right )}, \sqrt {-\frac {a -b}{a +b}}\right ) a \sin \left (d x +c \right )-\sqrt {\frac {\cos \left (d x +c \right )}{1+\cos \left (d x +c \right )}}\, \sqrt {\frac {a +b \cos \left (d x +c \right )}{\left (1+\cos \left (d x +c \right )\right ) \left (a +b \right )}}\, \EllipticE \left (\frac {-1+\cos \left (d x +c \right )}{\sin \left (d x +c \right )}, \sqrt {-\frac {a -b}{a +b}}\right ) a \sin \left (d x +c \right )-\sqrt {\frac {\cos \left (d x +c \right )}{1+\cos \left (d x +c \right )}}\, \sqrt {\frac {a +b \cos \left (d x +c \right )}{\left (1+\cos \left (d x +c \right )\right ) \left (a +b \right )}}\, \EllipticE \left (\frac {-1+\cos \left (d x +c \right )}{\sin \left (d x +c \right )}, \sqrt {-\frac {a -b}{a +b}}\right ) b \sin \left (d x +c \right )+\left (\cos ^{2}\left (d x +c \right )\right ) b +a \cos \left (d x +c \right )-b \cos \left (d x +c \right )-a \right ) \cos \left (d x +c \right ) \left (\frac {1}{\cos \left (d x +c \right )}\right )^{\frac {3}{2}}}{d \sqrt {a +b \cos \left (d x +c \right )}\, \sin \left (d x +c \right ) a} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maxima [F] time = 0.00, size = 0, normalized size = 0.00 \[ \int \frac {\sec \left (d x + c\right )^{\frac {3}{2}}}{\sqrt {b \cos \left (d x + c\right ) + a}}\,{d x} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
mupad [F] time = 0.00, size = -1, normalized size = -0.00 \[ \int \frac {{\left (\frac {1}{\cos \left (c+d\,x\right )}\right )}^{3/2}}{\sqrt {a+b\,\cos \left (c+d\,x\right )}} \,d x \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
sympy [F] time = 0.00, size = 0, normalized size = 0.00 \[ \int \frac {\sec ^{\frac {3}{2}}{\left (c + d x \right )}}{\sqrt {a + b \cos {\left (c + d x \right )}}}\, dx \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________